<?php
require('config.php');
		$user_id=$_REQUEST['user_id'];
		$order_id=$_REQUEST['order_id'];
		$sql="select * from `".$oto."_orders`,`".$oto."_order_goods` where ".$oto."_orders.orderId='{$order_id}' and ".$oto."_orders.orderId=".$oto."_order_goods.orderId";
		$result=$db->query($sql);
		while($row=$result->fetch_assoc()){
			$orders_info[]=$row;//将取得的所有数据赋值给person_info数组
		}
		echo json_encode($orders_info);
?>